import axios from '@/utils/axios'
import moment from "moment";

export function addPiece(params) {
    return axios({
        url: '/ResultFourthExamine/addPiece',
        method: 'post',
        data: params
    })
}

export function addKpi(params) {
    return axios({
        url: '/ResultFourthExamine/addKpi',
        method: 'post',
        data: params
    })
}

export function rejectPiece(params) {
    return axios({
        url: '/ResultFourthExamine/rejectPiece',
        method: 'post',
        data: params
    })
}

export function rejectKpi(params) {
    return axios({
        url: '/ResultFourthExamine/rejectKpi',
        method: 'post',
        data: params
    })
}

export function reAddPiece(params) {
    return axios({
        url: '/ResultFourthExamine/reAddPiece',
        method: 'post',
        data: params
    })
}

export function reAddKpi(params) {
    return axios({
        url: '/ResultFourthExamine/reAddKpi',
        method: 'post',
        data: params
    })
}

export function getCompleteList(params) {
    return axios({
        url: '/ResultFourthExamine/completeList',
        method: 'post',
        data: params
    })
}

export function getFinishState(params) {
    return axios({
        url: '/ResultFourthExamine/getFinishState',
        method: 'post',
        data: params
    })
}